import { http } from "@/utils/http";
import { baseUrlApi } from "./utils";

type Result = {
  success?: boolean;
  data?: Array<any>;


  page?: any;
  result?: any
};

export const getAsyncRoutes = (data) => {
  return http.request<Result>("get", baseUrlApi(`/api/backend/authregister/qx/${data.id}`));
  // return http.request<Result>("get", `/getAsyncRoutes`);
};
